package top.itlir.edc.service;

import org.elasticsearch.index.query.QueryBuilder;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import top.itlir.edc.domain.WayBill;

public interface IWayBillService {

	void save(WayBill model);

	Page<WayBill> pageQuery(Specification<WayBill> spec, Pageable pageable);

	Page<WayBill> pageQuery(QueryBuilder builer, Pageable pageable);

}

